package net.zjitc.mapper;

import net.zjitc.pojo.Condition;
import net.zjitc.pojo.Product;

import java.util.List;


/**
 * @Author admin
 * @Date 2019/3/18 8:23
 */
public interface ProductMapper {
   Product findById(int pid);
   List<Product> findAllProduct();
   void AddProduct(Product product);
   void DeleteProduct(int pid);
   void editProduct(Product product);
  List<Product> searchByCondition(Condition condition);


}
